package homework.extendwork2.coding;

public class Bike extends Car{
    public Bike(String strBrand,String strColor){
        super(strBrand,strColor);
    }
    public Bike(String strBrand,String strColor,int intWheel,int intSeat){
        super(strBrand,strColor,intWheel,intSeat);
    }

    @Override
    public void show() {
        System.out.printf("这是一辆%s颜色的%s牌的自行车",this.getStrColor(),this.getStrBrand());
    }
}
